<?php echo form_dropdown('cat_id', array('' => lang('global:all')) + $cat_select, $cat_id,'id="cat_id" class="chzn-select-deselect select-goto" style="width:30%" ');?>
<div id="filters">
<?php echo form_open();?>
	<input type="hidden" value="news" name="f_module">
    
    {{ if total_page }}
    <select name="f_page" class="chzn-select-deselect" style="width:90px;float:left">
    	<?php 
		for($i=0; $i < $total_page; $i++){ ?>
	        <option value="<?php echo $i ?>">{{helper:lang line='global:page'}} <?php echo $i + 1 ?></option>
        <?php } ?>
    </select>
    
	 {{ endif }}
     
    <!--<input type="text" name="f_title" value="" />-->
<?php echo form_close();?>
</div>
<div id="filter-stage">
	<?php template_partial('partial/list') ?>
    {{if !model }}
    	{{helper:lang line='global:nodata'}}
    {{endif}}
</div>
<div class="pagination">
{{pagination}}
</div>

<script type="text/javascript">
$('select.select-goto').change(function(){
	$val = $(this).val();
	location.href='{{url:site uri="admin/news/article/'+$val+'"}}';
});

</script>